// src/services/contractService.js
import apiClient from './axiosInstance';

export default {
    getContractsByStatus(status) {
        return apiClient.get('/contracts', { params: { status } });
    },
    createContract(contractData) {
        return apiClient.post('/contracts', contractData);
    },
    getContractById(id) {
        return apiClient.get(`/contracts/${id}`);
    }
};